/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ro.tni.stripesweb;

import javax.ejb.Remote;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author radus
 */
@Stateless(mappedName="VetsFacade")
@Remote(VetsFacadeRemote.class)
public class VetsFacade extends AbstractFacade<Vets> implements VetsFacadeRemote{
    @PersistenceContext(unitName = "petclinic")
    private EntityManager em;

    
    @Override
    public EntityManager getEntityManager() {
        return em;
    }
    
    public VetsFacade() {
        super(Vets.class);
    }

    @Override
    public void remove(Vets entity) {
        super.remove(entity);
    }
    
}
